package cn.wetcland.urban.generator.domain;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName ut_swiper
 */
@TableName(value ="ut_swiper")
@Data
public class UtSwiper implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Long swiperId;

    /**
     * 轮播图片ID
     */
    private Long swiperImgId;

    /**
     * 优先级 越小越大
     */
    private Integer priority;

    /**
     * 关联的文章ID
     */
    private Long relArticleId;

    /**
     * 0都能看 1消费者端 2司机端
     */
    private Integer type;

    /**
     * 
     */
    @TableLogic
    private Integer isDelete;

    /**
     * 
     */
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    /**
     *
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}